Repository navigation
fix(execution): keep a run's plan and scripts out of its live record - #771
Merged
Merged
Conversation
run.json holds the live state with a version and one read position per job's events feed, and what changes after the start: a job's cap, the parts run again. The plan and the recipe go once into plan.json, each script into its own file; a run of one part runs run.sh itself. A record without a version keeps being read and resumed. Closes ThinkFlowLab#360
harenome
marked this pull request as ready for review
December 3, 2026 14:31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #360
What
run.json: live state,version1, one byte position per job'sevents.jsonl, job caps, parts run again.plan.json: plan and recipe, written once.run.sh,run-<part>.sh; norun-run.sh.run-run.shprocesses are still found.execution.startincluded.Verified
run.jsonafter trial 1 5047 B to 419 B, last 15811 B to 421 B; total written 3133710 B to 126641 B;plan.json1 write.Risk
Agents
Claude Code, Fable 5.2
Claude Code, Opus 5.5